package org.gd.hellojaxb.privat24.deposits;

import javax.xml.bind.annotation.*;
import java.util.List;

@XmlRootElement(name = "client")
@XmlAccessorType(XmlAccessType.NONE)
@XmlType(propOrder = {"id", "bank", "inn", "userId", "status", "contractList"})
public class DepositResponseUser {

    @XmlAttribute(name = "id")
    private String id;
    @XmlAttribute(name = "bank")
    private String bank;
    @XmlAttribute(name = "inn")
    private String inn;
    @XmlAttribute(name = "IdCl")
    private String userId;
    @XmlAttribute(name = "status")
    private String status;
    @XmlElement(name = "contract")
    private List<Deposit> contractList;

    public DepositResponseUser() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getInn() {
        return inn;
    }

    public void setInn(String inn) {
        this.inn = inn;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<Deposit> getContractList() {
        return contractList;
    }

    public void setContractList(List<Deposit> contractList) {
        this.contractList = contractList;
    }
}
